require(["core", "jQuery", "coAjax"], function(jSouper, $, coAjax) {
	coAjax.get(appConfig.open.message_list, function(result) {
		App.set("$Cache.dotnar_message.list", result.result);
	});
	App.set("$Event.admin.remove_message", function(e, vm) {
		coAjax.delete(appConfig.admin.remove_message, {
			message_id: vm.get("_id")
		}, function(result) {
			alert("success", "删除成功");
			App.set("$Cache.dotnar_message.list", result.result);
		})
	});
});